package mylibrary.thread.synchronize;

public class BankTest {

	public static void main(String[] args) {
		BankSaving bs = new BankSaving();
		
		Operater o1 = new Operater(bs, "husband");
		Operater o2 = new Operater(bs, "wife");
		
		Thread t1 = new Thread(o1);
		Thread t2 = new Thread(o2);
		
		t1.start();
		t2.start();
	}
}
